package com.bw.unit6.bean

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 *
 * @ClassName: UserInfoBean
 * @Description: 登录后 --用户信息
 * @Author: zhangyanchao
 * @CreateDate: 2024/9/21 12:02 PM
 * @Version: 1.0
 */
@Entity(tableName = "user_info")
data class UserInfoBean(
    val icon: String,
    @PrimaryKey
    val id: Int,
    val nickname: String,
    val password: String,
    var money: Float,//余额
//    val sex: String,//接口返回该字段为空，需要注释sex字段
    val token: String,
    val username: String
)